Other Structs
The following structs are available globally.
-
This is ReSwift’s built in action type, it is the only built in type that conforms to the
Actionprotocol.StandardActioncan be serialized and can therefore be used with developer tools that restore state between app launches.The downside of
StandardActionis that it carries its payload as an untyped dictionary which does not play well with Swift’s type system.It is recommended that you define your own types that conform to
Action- if you want to be able to serialize your custom action types, you can implementStandardActionConvertiblewhich will make it possible to generate aStandardActionfrom your typed action - the best of both worlds!Declaration
Swift
public struct StandardAction: Action
View on GitHub
Install in Dash
Other Structs Reference